package com.dream.service.recommender.web.model;

import com.dream.service.recommender.toolkits.utils.ConfigUtil;

/**
 * P.C. 展示样式
 * Created by zhiji on 2016/5/14.
 */
public class PPCShowStyle {

    private String title = "Recommended for you";

    private String title_color = "#ffffff";

    private String title_background_color = "#fab986";

    private String rec_area_background_color = "#ffffff";

    private String rec_item_frame_color = "#ffe5d1";

    private String discount_background_color = "#fa7681";

    private String discount_font_color = "#ffffff";

    private String item_title_color = "#010101";

    private String origin_price_color = "#a9a9a9";

    private String current_price_color = "#e66974";

    public PPCShowStyle() {
        if (ConfigUtil.getPro("title") != null) {
            this.title = ConfigUtil.getPro("title");
        }
        if (ConfigUtil.getPro("title_color") != null) {
            this.title_color = ConfigUtil.getPro("title_color");
        }
        if (ConfigUtil.getPro("title_background_color") != null) {
            this.title_background_color = ConfigUtil.getPro("title_background_color");
        }
        if (ConfigUtil.getPro("rec_area_background_color") != null) {
            this.rec_area_background_color = ConfigUtil.getPro("rec_area_background_color");
        }
        if (ConfigUtil.getPro("rec_item_frame_color") != null) {
            this.rec_item_frame_color = ConfigUtil.getPro("rec_item_frame_color");
        }
        if (ConfigUtil.getPro("discount_background_color") != null) {
            this.discount_background_color = ConfigUtil.getPro("discount_background_color");
        }
        if (ConfigUtil.getPro("discount_font_color") != null) {
            this.discount_font_color = ConfigUtil.getPro("discount_font_color");
        }
        if (ConfigUtil.getPro("item_title_color") != null) {
            this.item_title_color = ConfigUtil.getPro("item_title_color");
        }
        if (ConfigUtil.getPro("origin_price_color") != null) {
            this.origin_price_color = ConfigUtil.getPro("origin_price_color");
        }
        if (ConfigUtil.getPro("current_price_color") != null) {
            this.current_price_color = ConfigUtil.getPro("current_price_color");
        }
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle_color() {
        return title_color;
    }

    public void setTitle_color(String title_color) {
        this.title_color = title_color;
    }

    public String getTitle_background_color() {
        return title_background_color;
    }

    public void setTitle_background_color(String title_background_color) {
        this.title_background_color = title_background_color;
    }

    public String getRec_area_background_color() {
        return rec_area_background_color;
    }

    public void setRec_area_background_color(String rec_area_background_color) {
        this.rec_area_background_color = rec_area_background_color;
    }

    public String getRec_item_frame_color() {
        return rec_item_frame_color;
    }

    public void setRec_item_frame_color(String rec_item_frame_color) {
        this.rec_item_frame_color = rec_item_frame_color;
    }

    public String getDiscount_background_color() {
        return discount_background_color;
    }

    public void setDiscount_background_color(String discount_background_color) {
        this.discount_background_color = discount_background_color;
    }

    public String getDiscount_font_color() {
        return discount_font_color;
    }

    public void setDiscount_font_color(String discount_font_color) {
        this.discount_font_color = discount_font_color;
    }

    public String getItem_title_color() {
        return item_title_color;
    }

    public void setItem_title_color(String item_title_color) {
        this.item_title_color = item_title_color;
    }

    public String getOrigin_price_color() {
        return origin_price_color;
    }

    public void setOrigin_price_color(String origin_price_color) {
        this.origin_price_color = origin_price_color;
    }

    public String getCurrent_price_color() {
        return current_price_color;
    }

    public void setCurrent_price_color(String current_price_color) {
        this.current_price_color = current_price_color;
    }
}
